﻿namespace WayneGameSolution.Communicate
{
    using WayneGameSolution.Packs;
    using System.Collections.Generic;

    public interface ICodec
    {
        byte[] ToBytes(ICrypt Crypt ,IDataPack workingPack);
        IDataPack ToDataPack(ICrypt Crypt,byte[] buffer, int flag ,int tempId);
      
        
    }
}

